package com.ywq.app.dao;

import java.util.List;
import java.util.Map;

import com.ywq.app.domain.AdminUser;
import com.ywq.app.domain.ArtArtist;
import com.ywq.app.domain.ArtArtistPic;
import com.ywq.app.domain.ArtMade;
import com.ywq.app.domain.ArtMadeAudit;
import com.ywq.app.domain.ArtMadeTalk;
import com.ywq.app.domain.ArtMap;
import com.ywq.app.domain.ArtPic;
import com.ywq.app.domain.PicComment;
import com.ywq.app.domain.PwSchool;
import com.ywq.common.exception.AppBusinessException;

public interface ArtistDao {
	
	public void insertArtArtist(ArtArtist artArtist) throws AppBusinessException;
	
	public int getArtistListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtArtist> getArtistList(Map<String, Object> map) throws AppBusinessException;
	
	public int getArtistPicListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtArtistPic> getArtistPicList(Map<String, Object> map) throws AppBusinessException;
	
	public List<ArtArtist> getMadeArtistList(Map<String, Object> map) throws AppBusinessException;
	
	public ArtArtist getArtist(Map<String, Object> map)throws AppBusinessException;
	
	public void insterMade(ArtMade artMade) throws AppBusinessException;
	
	public List<ArtMade> getMadeOrderList(Map<String, Object> map) throws AppBusinessException;
	
	public int getMadeOrderListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtMadeTalk> getTalkListByMadeId(Map<String, Object> map) throws AppBusinessException;
	
	public ArtMade getArtMadeById(Map<String, Object> map)throws AppBusinessException;
	
	public void insertArtMadeTalk(ArtMadeTalk artMadeTalk) throws AppBusinessException ;
	
	public List<ArtMadeTalk> getTalkGrid(Map<String, Object> map) throws AppBusinessException ;
	
	public int getTalkGridCount(Map<String, Object> map)throws AppBusinessException;
	
	public void insertMadeAudit(ArtMadeAudit artMadeAudit) throws AppBusinessException ;
	
	public List<ArtMadeAudit> getArtMadeAuditGrid(Map<String, Object> map) throws AppBusinessException;
	
	public int getMadeAuditCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtMadeAudit> getMadeAuditByMadeId(Map<String, Object> map) throws AppBusinessException;
	
	public ArtMadeAudit getMadeAuditByAuditId(Map<String, Object> map)throws AppBusinessException;
	
	public void updateMadeStage(Map<String, Object> map) throws AppBusinessException ;
	
	public void passMadeAudit(Map<String, Object> map) throws AppBusinessException;
	
	public void updateArtist(ArtArtist artArtist) throws AppBusinessException;
	
	public List<ArtArtist> getMadeArtistCsList(Map<String, Object> map) throws AppBusinessException;
	
	public int getArtistListCsCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<PwSchool> getCompanyByName(Map<String,Object> map) throws AppBusinessException;
	
	public PwSchool getSchool(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtPic> getFindPicList(Map<String,Object> map)throws AppBusinessException;
	
	public int getFindPicListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtMap> getNumByCtiy()throws AppBusinessException ;
	
	public List<PicComment> getFindCommentByPicId(Map<String,Object> map)throws AppBusinessException;
	
	public int getFindCommentCountByPicId(Map<String, Object> map)throws AppBusinessException;
	
	public void insertComment(PicComment picComment) throws AppBusinessException;
	
	public int getPrintPicListCount(Map<String, Object> map)throws AppBusinessException ;
	
	public List<ArtPic> getPrintPicList(Map<String,Object> map)throws AppBusinessException;
	
	public ArtArtistPic getArtArtistPicByPicId(Map<String, Object> map)throws AppBusinessException;
	
	public ArtArtist getAllCountByArtistId(Map<String, Object> map)throws AppBusinessException;
	
	public ArtMadeAudit getArtMadeAuditById(Map<String, Object> map)throws AppBusinessException;
	
	public void updateMadePay(ArtMade artMade) throws AppBusinessException;
	
	public List<ArtPic> getFourPicMadeByClass(Map<String, Object> map) throws AppBusinessException;
	
	public AdminUser getUserByArtistId(String artistId) throws AppBusinessException;
	
	public int getAllPicNumByArtistId(Map<String, Object> map)throws AppBusinessException;
	

}
